﻿using MangoMes.Commont.DTOs;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace MangoMes.Write.API.Applications.Pickinges
{
    public class PickingUpdateCommand : IRequest<ResultsDTO>
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int PickingId { get; set; }
        /// <summary>
        /// 领料单编码
        /// </summary>
        public string? PickingNode { get; set; }
        /// <summary>
        /// 领料单名称
        /// </summary>
        public string? PickingName { get; set; }
        /// <summary>
        /// 领料单日期
        /// </summary>
        public DateTime PickingTime { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        //public int Workid { get; set; }
        public string? WorkStationName { get; set; }
        //public int ClientId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public int Documents { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? ClientNo { get; set; }
        /// <summary>
        /// 工作站
        /// </summary>
        public string? WorkStations { get; set; }
        /// <summary>
        /// 生产工单
        /// </summary>
        public string? ProductionWorkOrdersNo { get; set; }
    }
}
